import React from 'react'
import { Cell } from 'react-vant'

function index({v,onClick}) {
  return (
    <div>
      <Cell.Group  >
                <Cell onClick={onClick} title={
                  <div>
                    <p>{v.start}---{v.end}</p>
                  </div>
                } value={
                  <div>
                    <p>商务座：{v.tick.vip}</p>
                    <p>公务舱：{v.tick.firstTick}</p>
            
                    
                  </div>
                } label={
                  <div>
                    {v.isSeat}有票
                  </div>
                }
                /> 
                
              </Cell.Group>
    </div>
  )
}

export default index
